package com.zhongzhi.service;

import java.util.Date;

import org.springframework.web.bind.annotation.RequestMapping;

import com.zhongzhi.springboot.pojo.Bo;
import com.zhongzhi.springboot.pojo.JsonResult;
import com.zhongzhi.springboot.pojo.Measure;

public interface MeasureService{
	//增加测试数据(业务自动增加)
	public Bo insert(Measure measure);
	//修改测试数据
	public Bo update(Measure measure);
	//删除业务数据
	public Bo delete(Integer id);
	//批量删除业务数据
	public Bo deletes(Integer[] ids);
	//查询业务数据(无条件/分页)
	public Bo select(Integer pages,Integer line);
	//查询总数
	public Bo selectSize();
	//查询业务数据(根据id)
	public Bo selectById(Integer id);
	//查询业务数据(根据机号/分页)
	public Bo selectByDeviceNum(String deviceNum,Integer pages,Integer line);
	//查询总数(根据机号/分页)
	public Bo selectByDeviceNumSize(String deviceNum);
	//查询业务数据(根据机型/分页)
	public Bo selectByTypeId(Integer TypeId,Integer pages,Integer line);
	//查询总数(根据机型/分页)
	public Bo selectByTypeIdSize(Integer TypeId);
	//查询业务数据(根据时间/分页)
	public Bo selectByTDate(Long date1,Long date2,Integer pages,Integer line);
	//查询总数(根据时间/分页)
	public Bo selectByTDateSize(Long date1,Long date2);
	
	
	
}
